package com.hqt.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ProductCost entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "PRODUCT_COST", schema = "HQT")
public class ProductCost implements java.io.Serializable {

	private static final long serialVersionUID = 6803695058590214008L;
	private String pkProductCost;
	private Integer month;
	private Double cost;
	private Double deductPoint;
	private Double invoice;
	private Double pay;
	private String info;
	private String def1;
	private String def2;
	private String def3;
	private String def4;
	private String def5;
	private String def6;
	private String def7;
	private String def8;
	private String def9;
	private String def10;
	private Integer dr;
	private String ts;

	// Constructors

	/** default constructor */
	public ProductCost() {
	}

	/** minimal constructor */
	public ProductCost(String pkProductCost) {
		this.pkProductCost = pkProductCost;
	}

	/** full constructor */
	public ProductCost(String pkProductCost, Integer month, Double cost,
			Double deductPoint, Double invoice, Double pay, String info,
			String def1, String def2, String def3, String def4, String def5,
			String def6, String def7, String def8, String def9, String def10,
			Integer dr, String ts) {
		this.pkProductCost = pkProductCost;
		this.month = month;
		this.cost = cost;
		this.deductPoint = deductPoint;
		this.invoice = invoice;
		this.pay = pay;
		this.info = info;
		this.def1 = def1;
		this.def2 = def2;
		this.def3 = def3;
		this.def4 = def4;
		this.def5 = def5;
		this.def6 = def6;
		this.def7 = def7;
		this.def8 = def8;
		this.def9 = def9;
		this.def10 = def10;
		this.dr = dr;
		this.ts = ts;
	}

	// Property accessors
	@Id
	@Column(name = "PK_PRODUCT_COST", unique = true, nullable = false, length = 20)
	public String getPkProductCost() {
		return this.pkProductCost;
	}

	public void setPkProductCost(String pkProductCost) {
		this.pkProductCost = pkProductCost;
	}

	@Column(name = "MONTH", precision = 22, scale = 0)
	public Integer getMonth() {
		return this.month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	@Column(name = "COST", precision = 20)
	public Double getCost() {
		return this.cost;
	}

	public void setCost(Double cost) {
		this.cost = cost;
	}

	@Column(name = "DEDUCT_POINT", precision = 20)
	public Double getDeductPoint() {
		return this.deductPoint;
	}

	public void setDeductPoint(Double deductPoint) {
		this.deductPoint = deductPoint;
	}

	@Column(name = "INVOICE", precision = 20)
	public Double getInvoice() {
		return this.invoice;
	}

	public void setInvoice(Double invoice) {
		this.invoice = invoice;
	}

	@Column(name = "PAY", precision = 20)
	public Double getPay() {
		return this.pay;
	}

	public void setPay(Double pay) {
		this.pay = pay;
	}

	@Column(name = "INFO", length = 1000)
	public String getInfo() {
		return this.info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	@Column(name = "DEF1", length = 200)
	public String getDef1() {
		return this.def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	@Column(name = "DEF2", length = 200)
	public String getDef2() {
		return this.def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	@Column(name = "DEF3", length = 200)
	public String getDef3() {
		return this.def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	@Column(name = "DEF4", length = 200)
	public String getDef4() {
		return this.def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	@Column(name = "DEF5", length = 200)
	public String getDef5() {
		return this.def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	@Column(name = "DEF6", length = 200)
	public String getDef6() {
		return this.def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	@Column(name = "DEF7", length = 200)
	public String getDef7() {
		return this.def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	@Column(name = "DEF8", length = 200)
	public String getDef8() {
		return this.def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	@Column(name = "DEF9", length = 200)
	public String getDef9() {
		return this.def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	@Column(name = "DEF10", length = 200)
	public String getDef10() {
		return this.def10;
	}

	public void setDef10(String def10) {
		this.def10 = def10;
	}

	@Column(name = "DR", precision = 22, scale = 0)
	public Integer getDr() {
		return this.dr;
	}

	public void setDr(Integer dr) {
		this.dr = dr;
	}

	@Column(name = "TS", length = 19)
	public String getTs() {
		return this.ts;
	}

	public void setTs(String ts) {
		this.ts = ts;
	}

}